package org.zachary.creditbusiness.hotel.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 预订记录表，对应 mysql 表 hotel_reservation
 * create table hotel_reservation …                         :contentReference[oaicite:2]{index=2}
 */
@Data
@TableName("hotel_reservation")
public class Reservation {
    @TableId
    private Integer orderId;

    private Integer userId;
    private Integer hotelId;
    private Integer typeId;
    private Float price;
    private String bookDate;
    private String checkinDate;//标准日期格式2025-07-03 00:00:00
    private String checkoutDate;
    private String uuid;
    private Integer isPay;
    private Integer promise;
    private String payDate;
}